package com.ep.thirdPlatformProject.oa.service;

import com.ep.thirdPlatformProject.dhg.entity.DhgEmployeeEntity;
import com.ep.thirdPlatformProject.dhg.entity.DhgEmployeeLeaveEntity;
import com.ep.thirdPlatformProject.dhg.entity.DhgEmployeeTransEntity;
import com.ep.thirdPlatformProject.dhg.entity.DhgOrgEntity;
import com.ep.thirdPlatformProject.erp.entity.vo.ErpBudgetResultVo;
import com.ep.thirdPlatformProject.oa.entity.OADeptAndLeaderEntity;

import java.util.List;

public interface OAApiService {

    /**
     * 构建入职工作流程并且提交
     *
     * @return {@link String 提交结果 }
     */
    String constructOnboardingWorkFLow(DhgEmployeeEntity entity);


    /**
     * 构建转岗流转单工作流程
     *
     * @param entity 实体
     * @return {@link String }
     */
    String constructTransWorkFlow(DhgEmployeeTransEntity entity);


    /**
     * 构建离职流转工作流程
     *
     * @param entity 实体
     * @return {@link String }
     */
    String constructLeaveWorkFlow(DhgEmployeeLeaveEntity entity);


    /**
     * 构建新建组织工作流程
     *
     * @return {@link String }
     */
    String constructOrgWorkflow(List<DhgOrgEntity> list);


    /**
     * 构建预算表单工作流
     *
     * @param entity 实体
     * @return {@link String }
     */
    String constructBudgetFormWorkFlow(ErpBudgetResultVo entity);
    /**
     * 测试构造流程
     *
     * @param list 列表
     * @return {@link String }
     */
    String testConstructFlow(List<OADeptAndLeaderEntity> list);
}
